*** Settings ***
Library           SeleniumLibrary

*** Test Cases ***
testcase_wbLogin
    Open Browser    http://192.168.2.151:8080/WoniuBoss2.5/    chrome
    Input Text    xpath=//input[@name='userName']    wncd000
    Input Text    xpath=//input[@name='userPass']    woniu123
    Click Button    xpath=/html/body/div[1]/div/div/div[2]/button
    Wait Until Element Contains    xpath=/html/body/div[2]/div[2]/ul/li[2]/a    注销
    Page Should Contain Element    xpath=/html/body/div[2]/div[2]/ul/li[2]/a
    Close Browser
